package com.zjitc.pojo;

import com.mchange.v2.c3p0.ComboPooledDataSource;
import javax.sql.DataSource;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/15 16:22
 * @description:
 */
public class DataSourceFactory {
    private static final DataSource INSTANCE;
    static {
      INSTANCE = new ComboPooledDataSource();
    }
    public static DataSource getDataSource(){
      return INSTANCE;
    }
}
